<%@ include file="../common/IncludeTop.jsp"%>

<div id="Catalog">

    <form action="Register" method="post">
		<h3>User Information</h3>

		<table>
			<tr>
				<td>User ID:</td>
				<td>
					<input type="text" name="username" id="username"  onblur="checkUsername()"/>
				</td>
			</tr>
			<tr id="isExistInfo"></tr>
			<tr>
				<td >New password:</td>
				<td><input type="text" name="password"/></td>
			</tr>
			<tr>
				<td>Repeat password:</td>
				<td><input type="text" name="repeatedPassword"/></td>
			</tr>

			<tr>
				<td>VerificationCode:</td>
				<td>
					<input type="text" name="vCode" size="5" maxlength="4"/>
					<a href="newAccount"><img border="0" src="verificationCode" name="checkcode"></a>
				</td>
			</tr>
		</table>

		<c:if test="${sessionScope.passwordNotEqualMSG!=null}">
			<font color="red">${sessionScope.passwordNotEqualMSG} </font>
		</c:if>

		<c:if test="${sessionScope.VcodeErroerMSG!=null}">
			<font color="red">${sessionScope.VcodeErroerMSG} </font>
		</c:if>


		<%@ include file="IncludeAccountFields.jsp"%>

		<input type="submit" class="button" name="newAccount" value="Save Account Information" />

	</form>
	<script src="js/Register.js"></script>

</div>

<%@ include file="../common/IncludeBottom.jsp"%>